From: Giovanni Campagna Date: Mon, 20 Dec 2010 17:11:53 +0000 (+0100) Subject: PopupMenu: restore the arrow when fast closing the menu X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9370 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bfc7b98e1df800d529975995707919514bb0a45f;p=gnome-shell.git PopupMenu: restore the arrow when fast closing the menu When closing a submenu because the parent is closing, we skip the animation, but we need to restore the arrow anyway. --- diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index d493c75b9..190f24a4e 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -909,6 +909,7 @@ PopupSubMenu.prototype = { if (this._activeMenuItem) this._activeMenuItem.setActive(false); + this._arrow.rotation_angle_z = 0; this.actor.hide(); this.isOpen = false;